﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Struct Gdi.PIXELFORMATDESCRIPTOR
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Struct Gdi.PIXELFORMATDESCRIPTOR
   ">
    <meta name="generator" content="docfx 2.56.4.0">
    
    <link rel="shortcut icon" href="../favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR">
  
  
  <h1 id="CADability_Gdi_PIXELFORMATDESCRIPTOR" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR" class="text-break">Struct Gdi.PIXELFORMATDESCRIPTOR
  </h1>
  <div class="markdown level0 summary"></div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <span class="xref">System.ValueType.Equals(System.Object)</span>
    </div>
    <div>
      <span class="xref">System.ValueType.GetHashCode()</span>
    </div>
    <div>
      <span class="xref">System.ValueType.ToString()</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CADability.html">CADability</a></h6>
  <h6><strong>Assembly</strong>: CADability.dll</h6>
  <h5 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct PIXELFORMATDESCRIPTOR</code></pre>
  </div>
  <h3 id="fields">Fields
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_bReserved.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.bReserved%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52413">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_bReserved" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.bReserved">bReserved</h4>
  <div class="markdown level1 summary"><p>Specifies the number of overlay and underlay planes. Bits 0 through 3 specify up to 15 overlay planes and
bits 4 through 7 specify up to 15 underlay planes.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public byte bReserved</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Byte</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_cAccumAlphaBits.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.cAccumAlphaBits%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52386">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_cAccumAlphaBits" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.cAccumAlphaBits">cAccumAlphaBits</h4>
  <div class="markdown level1 summary"><p>Specifies the number of alpha bitplanes in the accumulation buffer.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public byte cAccumAlphaBits</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Byte</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_cAccumBits.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.cAccumBits%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52366">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_cAccumBits" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.cAccumBits">cAccumBits</h4>
  <div class="markdown level1 summary"><p>Specifies the total number of bitplanes in the accumulation buffer.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public byte cAccumBits</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Byte</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_cAccumBlueBits.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.cAccumBlueBits%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52381">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_cAccumBlueBits" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.cAccumBlueBits">cAccumBlueBits</h4>
  <div class="markdown level1 summary"><p>Specifies the number of blue bitplanes in the accumulation buffer.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public byte cAccumBlueBits</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Byte</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_cAccumGreenBits.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.cAccumGreenBits%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52376">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_cAccumGreenBits" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.cAccumGreenBits">cAccumGreenBits</h4>
  <div class="markdown level1 summary"><p>Specifies the number of green bitplanes in the accumulation buffer.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public byte cAccumGreenBits</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Byte</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_cAccumRedBits.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.cAccumRedBits%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52371">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_cAccumRedBits" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.cAccumRedBits">cAccumRedBits</h4>
  <div class="markdown level1 summary"><p>Specifies the number of red bitplanes in the accumulation buffer.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public byte cAccumRedBits</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Byte</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_cAlphaBits.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.cAlphaBits%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52356">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_cAlphaBits" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.cAlphaBits">cAlphaBits</h4>
  <div class="markdown level1 summary"><p>Specifies the number of alpha bitplanes in each RGBA color buffer. Alpha bitplanes are not supported.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public byte cAlphaBits</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Byte</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_cAlphaShift.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.cAlphaShift%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52361">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_cAlphaShift" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.cAlphaShift">cAlphaShift</h4>
  <div class="markdown level1 summary"><p>Specifies the shift count for alpha bitplanes in each RGBA color buffer. Alpha bitplanes are not supported.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public byte cAlphaShift</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Byte</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_cAuxBuffers.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.cAuxBuffers%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52401">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_cAuxBuffers" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.cAuxBuffers">cAuxBuffers</h4>
  <div class="markdown level1 summary"><p>Specifies the number of auxiliary buffers. Auxiliary buffers are not supported.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public byte cAuxBuffers</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Byte</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_cBlueBits.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.cBlueBits%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52346">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_cBlueBits" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.cBlueBits">cBlueBits</h4>
  <div class="markdown level1 summary"><p>Specifies the number of blue bitplanes in each RGBA color buffer.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public byte cBlueBits</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Byte</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_cBlueShift.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.cBlueShift%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52351">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_cBlueShift" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.cBlueShift">cBlueShift</h4>
  <div class="markdown level1 summary"><p>Specifies the shift count for blue bitplanes in each RGBA color buffer.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public byte cBlueShift</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Byte</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_cColorBits.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.cColorBits%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52321">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_cColorBits" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.cColorBits">cColorBits</h4>
  <div class="markdown level1 summary"><p>Specifies the number of color bitplanes in each color buffer. For RGBA pixel types, it is the size
of the color buffer, excluding the alpha bitplanes. For color-index pixels, it is the size of the
color-index buffer.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public byte cColorBits</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Byte</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_cDepthBits.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.cDepthBits%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52391">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_cDepthBits" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.cDepthBits">cDepthBits</h4>
  <div class="markdown level1 summary"><p>Specifies the depth of the depth (z-axis) buffer.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public byte cDepthBits</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Byte</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_cGreenBits.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.cGreenBits%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52336">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_cGreenBits" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.cGreenBits">cGreenBits</h4>
  <div class="markdown level1 summary"><p>Specifies the number of green bitplanes in each RGBA color buffer.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public byte cGreenBits</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Byte</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_cGreenShift.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.cGreenShift%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52341">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_cGreenShift" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.cGreenShift">cGreenShift</h4>
  <div class="markdown level1 summary"><p>Specifies the shift count for green bitplanes in each RGBA color buffer.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public byte cGreenShift</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Byte</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_cRedBits.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.cRedBits%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52326">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_cRedBits" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.cRedBits">cRedBits</h4>
  <div class="markdown level1 summary"><p>Specifies the number of red bitplanes in each RGBA color buffer.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public byte cRedBits</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Byte</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_cRedShift.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.cRedShift%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52331">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_cRedShift" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.cRedShift">cRedShift</h4>
  <div class="markdown level1 summary"><p>Specifies the shift count for red bitplanes in each RGBA color buffer.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public byte cRedShift</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Byte</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_cStencilBits.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.cStencilBits%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52396">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_cStencilBits" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.cStencilBits">cStencilBits</h4>
  <div class="markdown level1 summary"><p>Specifies the depth of the stencil buffer.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public byte cStencilBits</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Byte</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_dwDamageMask.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.dwDamageMask%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52437">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_dwDamageMask" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.dwDamageMask">dwDamageMask</h4>
  <div class="markdown level1 summary"><p>Ignored. Earlier implementations of OpenGL used this member, but it is no longer used.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public int dwDamageMask</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_dwDamageMask_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>Specifies whether more than one pixel format shares the same frame buffer. If the result of the bitwise
AND of the damage masks between two pixel formats is nonzero, then they share the same buffers.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_dwFlags.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.dwFlags%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52291">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_dwFlags" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.dwFlags">dwFlags</h4>
  <div class="markdown level1 summary"><p>A set of bit flags that specify properties of the pixel buffer. The properties are generally not mutually exclusive;
you can set any combination of bit flags, with the exceptions noted.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public int dwFlags</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_dwFlags_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>The following bit flag constants are defined:</p>
<table><thead><tr><th>Value</th><th>Meaning</th></tr></thead><tbody><tr><td>PFD_DRAW_TO_WINDOW</td><td>The buffer can draw to a window or device surface.</td></tr><tr><td>PFD_DRAW_TO_BITMAP</td><td>The buffer can draw to a memory bitmap.</td></tr><tr><td>PFD_SUPPORT_GDI</td><td>
The buffer supports GDI drawing. This flag and PFD_DOUBLEBUFFER are mutually exclusive
in the current generic implementation.
</td></tr><tr><td>PFD_SUPPORT_OPENGL</td><td>The buffer supports OpenGL drawing.</td></tr><tr><td>PFD_GENERIC_ACCELERATED</td><td>
	The pixel format is supported by a device driver that accelerates the generic implementation.
	If this flag is clear and the PFD_GENERIC_FORMAT flag is set, the pixel format is supported by
	the generic implementation only.
</td></tr><tr><td>PFD_GENERIC_FORMAT</td><td>
	The pixel format is supported by the GDI software implementation, which is also known as the
	generic implementation. If this bit is clear, the pixel format is supported by a device
	driver or hardware.
</td></tr><tr><td>PFD_NEED_PALETTE</td><td>
	The buffer uses RGBA pixels on a palette-managed device. A logical palette is required to achieve
	the best results for this pixel type. Colors in the palette should be specified according to the
	values of the <strong>cRedBits</strong>, <strong>cRedShift</strong>, <strong>cGreenBits</strong>, <strong>cGreenShift</strong>,
<strong>cBluebits</strong>, and <strong>cBlueShift</strong> members. The palette should be created and realized in
the device context before calling <a class="xref" href="CADability.Wgl.html#CADability_Wgl_wglMakeCurrent_System_IntPtr_System_IntPtr_">wglMakeCurrent(IntPtr, IntPtr)</a>.
</td></tr><tr><td>PFD_NEED_SYSTEM_PALETTE</td><td>
	Defined in the pixel format descriptors of hardware that supports one hardware palette in
	256-color mode only. For such systems to use hardware acceleration, the hardware palette must be in
	a fixed order (for example, 3-3-2) when in RGBA mode or must match the logical palette when in
	color-index mode.
<pre><code>When this flag is set, you must call SetSystemPaletteUse in your program to force a one-to-one
mapping of the logical palette and the system palette. If your OpenGL hardware supports multiple
hardware palettes and the device driver can allocate spare hardware palettes for OpenGL, this
flag is typically clear.

This flag is not set in the generic pixel formats.
</code></pre>
</td></tr><tr><td>PFD_DOUBLEBUFFER</td><td>
	The buffer is double-buffered. This flag and PFD_SUPPORT_GDI are mutually exclusive in the
	current generic implementation.
</td></tr><tr><td>PFD_STEREO</td><td>
	The buffer is stereoscopic. This flag is not supported in the current generic implementation.
</td></tr><tr><td>PFD_SWAP_LAYER_BUFFERS</td><td>
	Indicates whether a device can swap individual layer planes with pixel formats that include
	double-buffered overlay or underlay planes. Otherwise all layer planes are swapped together
	as a group. When this flag is set, <strong>wglSwapLayerBuffers</strong> is supported.
</td></tr></tbody></table>
<p>You can specify the following bit flags when calling <a class="xref" href="CADability.Gdi.html#CADability_Gdi_ChoosePixelFormat_System_IntPtr_CADability_Gdi_PIXELFORMATDESCRIPTOR__">ChoosePixelFormat(IntPtr, ref Gdi.PIXELFORMATDESCRIPTOR)</a>.</p>
<table><thead><tr><th>Value</th><th>Meaning</th></tr></thead><tbody><tr><td>PFD_DEPTH_DONTCARE</td><td>
			The requested pixel format can either have or not have a depth buffer. To select
			a pixel format without a depth buffer, you must specify this flag. The requested pixel format
			can be with or without a depth buffer. Otherwise, only pixel formats with a depth buffer
			are considered.
</td></tr><tr><td>PFD_DOUBLEBUFFER_DONTCARE</td><td>The requested pixel format can be either single- or double-buffered.</td></tr><tr><td>PFD_STEREO_DONTCARE</td><td>The requested pixel format can be either monoscopic or stereoscopic.</td></tr></tbody></table>
<p>
	With the <strong>glAddSwapHintRectWIN</strong> extension function, two new flags are included for the
<strong>PIXELFORMATDESCRIPTOR</strong> pixel format structure.
</p>
<table><thead><tr><th>Value</th><th>Meaning</th></tr></thead><tbody><tr><td>PFD_SWAP_COPY</td><td>
			Specifies the content of the back buffer in the double-buffered main color plane following
			a buffer swap. Swapping the color buffers causes the content of the back buffer to be copied
			to the front buffer. The content of the back buffer is not affected by the swap. PFD_SWAP_COPY
			is a hint only and might not be provided by a driver.
</td></tr><tr><td>PFD_SWAP_EXCHANGE</td><td>
	Specifies the content of the back buffer in the double-buffered main color plane following a
	buffer swap. Swapping the color buffers causes the exchange of the back buffer&apos;s content
	with the front buffer&apos;s content. Following the swap, the back buffer&apos;s content contains the
	front buffer&apos;s content before the swap. PFD_SWAP_EXCHANGE is a hint only and might not be
	provided by a driver.
</td></tr></tbody></table>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_dwLayerMask.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.dwLayerMask%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52422">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_dwLayerMask" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.dwLayerMask">dwLayerMask</h4>
  <div class="markdown level1 summary"><p>Ignored. Earlier implementations of OpenGL used this member, but it is no longer used.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public int dwLayerMask</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_dwLayerMask_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>Specifies the layer mask. The layer mask is used in conjunction with the visible mask to determine
if one layer overlays another.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_dwVisibleMask.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.dwVisibleMask%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52428">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_dwVisibleMask" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.dwVisibleMask">dwVisibleMask</h4>
  <div class="markdown level1 summary"><p>Specifies the transparent color or index of an underlay plane. When the pixel type is RGBA, <strong>dwVisibleMask</strong>
is a transparent RGB color value. When the pixel type is color index, it is a transparent index value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public int dwVisibleMask</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_iLayerType.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.iLayerType%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52407">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_iLayerType" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.iLayerType">iLayerType</h4>
  <div class="markdown level1 summary"><p>Ignored. Earlier implementations of OpenGL used this member, but it is no longer used.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public byte iLayerType</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Byte</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_iLayerType_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>Specifies the type of layer.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_iPixelType.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.iPixelType%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52314">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_iPixelType" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.iPixelType">iPixelType</h4>
  <div class="markdown level1 summary"><p>Specifies the type of pixel data. The following types are defined.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public byte iPixelType</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Byte</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_iPixelType_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><table><thead><tr><th>Value</th><th>Meaning</th></tr></thead><tbody><tr><td>PFD_TYPE_RGBA</td><td>
			RGBA pixels. Each pixel has four components in this order: red, green, blue, and alpha.
</td></tr><tr><td>PFD_TYPE_COLORINDEX</td><td>Color-index pixels. Each pixel uses a color-index value.</td></tr></tbody></table>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_nSize.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.nSize%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52136">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_nSize" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.nSize">nSize</h4>
  <div class="markdown level1 summary"><p>Specifies the size of this data structure. This value should be set to <code>sizeof(PIXELFORMATDESCRIPTOR)</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public short nSize</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int16</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR_nVersion.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR.nVersion%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52141">View Source</a>
  </span>
  <h4 id="CADability_Gdi_PIXELFORMATDESCRIPTOR_nVersion" data-uid="CADability.Gdi.PIXELFORMATDESCRIPTOR.nVersion">nVersion</h4>
  <div class="markdown level1 summary"><p>Specifies the version of this data structure. This value should be set to 1.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public short nVersion</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int16</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Gdi_PIXELFORMATDESCRIPTOR.md&amp;value=---%0Auid%3A%20CADability.Gdi.PIXELFORMATDESCRIPTOR%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/OpenGL.cs/#L52130" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
                <h5>In This Article</h5>
                <div></div>
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
